<?php
		
	/* SVN FILE: $Id: login.php 8 2011-03-13 08:32:38Z michele.andreoletti@gmail.com $ */
	
	/**
	* Project Name : arcadia
	*
	* @author $Author: michele.andreoletti@gmail.com $
	* @version $Revision: 8 $
	* @lastrevision $Date: 2011-03-13 08:32:38 +0000 (Sun, 13 Mar 2011) $
	* @filesource $URL: http://arcadia.googlecode.com/svn/trunk/budget/login.php $
	*/

	if (isset($_GET['sRedirect'])) {
		$sRedirect = trim($_GET['sRedirect']);
		foreach ($_GET as $sKey => $sValue) {
			$sValue = (string)$sValue;
			if ($sKey != 'sRedirect' && $sValue != '') {
				$sRedirect .="&".$sKey."=".$sValue;
			}
		}	
	}
	header ("Location: ../login.php?sRedirect=$sRedirect");
	die();
?>